public class Main {
    public static void main(String[] args) {
        String str = "hello";
        char[] arrays = str.toCharArray();
        for (int i = 0; i < arrays.length; i++) {
            System.out.print(arrays[i]+" ");
        }
    }
}
